#include<stdio.h>
#include<conio.h>
main(){
int n,i,k[100],j,flag;
printf("Amount of numbers: ");
scanf("%d",&n);
for(i=1;i<=n;i++){
printf("Input the number no.%d: ",i);
scanf("%d",&k[i]);
}
for(i=1;i<=n;i++){
flag=1;	
for(j=i+1;j<=n;j++){	
if(k[i]==k[j]){
flag=0;}
}
if(flag==1)
printf("%d ",k[i]);
}
getch();
}
